@echo off
xcopy Gadget\*.* "%localappdata%\Microsoft\Windows Sidebar\Gadgets\kod.gadget\*.*" /Y /E
xcopy "kod_reader\kod_reader\bin\Release\kod_reader.dll" "%localappdata%\Microsoft\Windows Sidebar\Gadgets\kod.gadget\kod_reader.dll" /Y

%windir%\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase "%localappdata%\Microsoft\Windows Sidebar\Gadgets\kod.gadget\kod_reader.dll"
%windir%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase "%localappdata%\Microsoft\Windows Sidebar\Gadgets\kod.gadget\kod_reader.dll"
